﻿namespace EFS.RC.CC.Messages.Application
{
	/// Class Caller
	public class Command : EFS.RC.CC.Messages.Message
	{
		public Command()
		{
		}

		// Command text
		public System.String Text { get; set; }

		/// Serialize
		public override void Serialize(EFS.Common.Serialization.XmlWriter xmlWriter)
		{
			// write
			xmlWriter.Write("Text", Text);
		}

		/// Deserialize
		public override void Deserialize(EFS.Common.Serialization.XmlReader xmlReader)
		{
			// read
			Text = xmlReader.Read("Text");
		}
	}
}